package com.gjy.design.proxy;

/**
 * @author gjy
 * @version 1.0
 * @since 2025-11-10 10:39:50
 */
public class OrderServiceImpl implements OrderService {
    @Override
    public void createOrder(String productId, int quantity) {
        System.out.println("Creating order: product=" + productId + ", qty=" + quantity);
        // ... 实际业务处理
    }

    @Override
    public void cancelOrder(String orderId) {
        System.out.println("Canceling order: " + orderId);
        // ... 实际业务处理
    }
}

